//
// Created by francklinson on 2021/11/28 AT 14:52.
// May Saint Diana bless you!
//

#include <iostream>
#include <vector>
#include <algorithm>


using namespace std;

class Solution {
public:
    bool isBoomerang(vector<vector<int>> &points) {

        return (points[0][0] - points[1][0]) * (points[0][1] - points[2][1]) !=
               (points[0][1] - points[1][1]) * (points[0][0] - points[2][0]);
    }
};

int main() {
    vector<vector<int>> points{{1, 0},
                               {2, 0},
                               {3, 0}};
    Solution solution;
    cout << solution.isBoomerang(points) << endl;
    return 0;
}

